package dev.alm.promptdemo.entity;

import dev.langchain4j.model.input.structured.StructuredPrompt;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
@StructuredPrompt("根据中国法律，解答以下问题：{{question}}，限制在{{length}}字以内。")
public class LawPrompt {

    private String question;
    private Integer length;

}
